package com.jet.member.domain.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author dcl
 * @since 2025/3/21 23:11
 */
@Data
@ApiModel
public class MemberLevelDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message = "会员等级设置信息不能为空")
    @Valid
    private List<MemberLevelItemDto> items;
}
